package com.wlcorp.forcazamis.dao.pi;

import java.util.List;

import com.ibatis.dao.client.DaoException;
import com.wlcorp.forcazamis.domain.pi.Pidetail;
import com.wlcorp.forcazamis.domain.pi.PiproductDetail;
import com.wlcorp.forcazamis.exception.ServiceException;

public interface IPiproductDetailDAO {
	public List<PiproductDetail> getPiproductDetailList(PiproductDetail piproductDetail) throws DaoException;
	public List<PiproductDetail> getPiproductDetailListByCode(PiproductDetail piproductDetail) throws DaoException;
	public PiproductDetail getPiproductDetailById(Long productId) throws DaoException;
	public void deletePiproductDetail(PiproductDetail piproductDetail) throws DaoException;
	public void savePiproductDetail(PiproductDetail piproductDetail) throws DaoException;
	public void updatePidetail(Pidetail pidetail) throws DaoException;
	public List<PiproductDetail> getPiproductDetailListByPidetailId(Long piid) throws ServiceException;
}
